From 38cf7a91273b261084171a8c82fcde7da9eefd87 Mon Sep 17 00:00:00 2001 From: "kfraser@localhost.localdomain" Date: Wed, 16 Aug 2006 16:11:12 +0100 Subject: [PATCH] [NET] back: Change 'copyall' xenstore node to 'request-rx-copy', which is slightly more informative and mirrors the 'feature-rx-copy' name which communicates the feature in the other direction (back->front). Signed-off-by: Keir Fraser --- linux-2.6-xen-sparse/drivers/xen/netback/xenbus.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/linux-2.6-xen-sparse/drivers/xen/netback/xenbus.c b/linux-2.6-xen-sparse/drivers/xen/netback/xenbus.c index f69d770680..6bb87a636e 100644 --- a/linux-2.6-xen-sparse/drivers/xen/netback/xenbus.c +++ b/linux-2.6-xen-sparse/drivers/xen/netback/xenbus.c @@ -355,7 +355,7 @@ static int connect_rings(struct backend_info *be) { struct xenbus_device *dev = be->dev; unsigned long tx_ring_ref, rx_ring_ref; - unsigned int evtchn, copyall; + unsigned int evtchn, rx_copy; int err; int val; @@ -372,17 +372,18 @@ static int connect_rings(struct backend_info *be) return err; } - err = xenbus_scanf(XBT_NIL, dev->otherend, "copyall", "%u", ©all); + err = xenbus_scanf(XBT_NIL, dev->otherend, "request-rx-copy", "%u", + &rx_copy); if (err == -ENOENT) { err = 0; - copyall = 0; + rx_copy = 0; } if (err < 0) { - xenbus_dev_fatal(dev, err, "reading %s/copyall", + xenbus_dev_fatal(dev, err, "reading %s/request-rx-copy", dev->otherend); return err; } - be->netif->copying_receiver = !!copyall; + be->netif->copying_receiver = !!rx_copy; if (xenbus_scanf(XBT_NIL, dev->otherend, "feature-rx-notify", "%d", &val) < 0) -- 2.30.2